package com.hhx.androidrxmvp.mvp.contract;

import com.hhx.androidrxmvp.base.mvp.BaseContract;
import com.hhx.androidrxmvp.bean.BaseResp;
import com.hhx.androidrxmvp.bean.Login;

import java.util.HashMap;

/**
 * Created by Administrator on 2019/3/18.
 */

public class LoginContract {

    public interface View extends BaseContract.BaseView {

        void refreshSuccess(BaseResp<Login> login);

        void refreshFailed(String msg);
    }

    public interface Presenter extends BaseContract.BasePresenter<View> {

        void login(HashMap<String, String> map, boolean isDialog, boolean cancelable);

        void loginNormal(HashMap<String, String> map);

    }

}
